<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">

    <link rel="stylesheet" href=" {{asset('/css/admin/admin_login.css')}}">

    <title>熊猫立方的后台登录</title>
</head>
<body>
<div class="container clearfix">
    <div class="login_main clearfix">
        <div class="login_bj">
            <img src=" {{asset('/images/login_bj.png')}}" alt="">
        </div>
        <div class="login_form clearfix">
            <div class="login_formlist clearfix">
                <form action="{{url('admin/login')}}" method="post">
                    {{csrf_field()}}
                    <p class="login_user clearfix">

                        <span >用户名</span>
                        <input type="text" name="username" value="">


                    </p>
                    @if(count($errors) > 0)
                        <div class="alert  alert-danger" style="color: red">{{$errors->first('username')}}</div>
                    @endif
                    <span  style="color: red">{{session('loginFails')}}</span>
                    <p class="login_user clearfix">

                        <span>密码</span>
                        <input  type="password" name="password" value="">

                    </p>
                    @if(count($errors) > 0)
                        <div class="alert alert-danger" style="color: red">{{$errors->first('username')}}</div>
                    @endif
                    <span  style="color: red">{{session('loginFails')}}</span>
                    <p class="login_submit clearfix">
                        <input type="submit" value="登录">
                    </p>
                </form>
            </div>
        </div>
    </div>
</div>
</body>
</html>